<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/menu/index')}">系统管理</a></li>
		<li class="am-active">角色</li>
	</ol>
	<div class="am-u-sm-12" style="padding: 20px;">
		<form class="am-form-inline tpl-form-border-form">
			<div class="widget am-u-sm-12">
				
				<div class="am-u-sm-10 am-form-group">
					<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
						<a href="{:url('add')}" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 添加</a>
					</div>
					<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped tpl-table-black am-text-nowrap">
						<thead>
							<tr>
								<th>角色ID</th>
								<th>名称</th>
								<th>区域</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							{foreach $list as $key => $item}
							<tr class="gradeX">
								<td>{$item.role_id}</td>
								<td>{$item.role_name}</td>
								<td>{$item.area_name}</td>
								<td>
									<div class="tpl-table-black-operation">
										<a href="{:url('edit',['role_id'=>$item.role_id])}">
											<i class="am-icon-pencil"></i> 编辑
										</a>
										<a class="lookuser" >
											<i class="am-icon-pencil"></i> 查看
										</a>
									</div>
								</td>
							</tr>
							{/foreach}
						</tbody>
					</table>
					<div class="am-u-lg-12 am-cf">
						<div class="am-fr">
							{$pager}
						</div>
					</div>
				</div>
				
			</div>
		</form>
	</div>
</div>